package com.xthink.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xthink.common.result.AjaxResult;
import com.xthink.common.pojo.sys.Role;
import com.xthink.common.vo.sys.RoleInsertVo;
import com.xthink.common.vo.sys.RoleUpdateVo;

public interface RoleService extends IService<Role> {
    AjaxResult insertRole(RoleInsertVo roleInsertVo);

    AjaxResult updateRole(RoleUpdateVo roleUpdateVo);

    AjaxResult listRole();

    AjaxResult deleteRole(Integer id);

    AjaxResult parent();
}
